package com.chance.cc.crawler.development.command.publish.kuaihe;

import com.chance.cc.crawler.development.command.script.news.NewsCrawlerScript;

/**
 * @Author Zhao.Hhuan
 * @Date Create in 2021/1/24 14:53
 * @Description
 *      1919快喝
 **/
public class KuaihePublishCrawlerJob {
    private static final String domain =  "kuaihe";

    public static void main(String[] args) {

        publishCrawlerJob();
    }

    public static void publishCrawlerJob(){
        //发布采集job
//        CrawlerJob crawlerJob = KuaiHeCrawlerScheduleJob.publishCrawlerScheduleJobInfo();
//        NewsScheduleTrigger.publishScheduleTriggerInfoSimple(crawlerJob.generateCrawlerKey(), crawlerJob.generateCrawlerTriggerKey(),domain,"1919快喝");
        NewsCrawlerScript.publishCrawlerNodeScript(domain);

    }
}
